package cate.game.videohall.routing;

import cate.common.table.d.GDVideoHall;
import cate.game.play.proce.play.PlayPO;
import cate.game.videohall.po.VideoPO;
import lombok.Data;
import lombok.ToString;

@ToString
@Data
public class VideoRoutingMsg {
    private String uid;
    private GDVideoHall.Group group;
    private PlayPO playPO;

    public static VideoRoutingMsg of(String uid, GDVideoHall.Group group, PlayPO playPO) {
        VideoRoutingMsg msg = new VideoRoutingMsg();
        msg.setUid(uid);
        msg.setGroup(group);
        msg.setPlayPO(playPO);
        return msg;
    }
}
